Options for paying taxes

I have completed my taxes and printed out a voucher to make the payment. can I still use a credit card to make my payment or do  I need to submit a check with the voucher. Thanks