• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 435
  • Last Modified:

Cut Paper command ??

Hi everyone i have printer that has cutter and i would like to enter code that will enable printer to cut paper after  he is finished with printing.

Can anyone help me ?
0
datan00b
Asked:
datan00b
2 Solutions
 
vinnyd79Commented:
This is dependent on the printer.Have you checked the printer mfg's website for a programming manual for your specific printer.
0
 
mgronlundCommented:
vinnyd79 is right, you will need to get the command sequence from the mfg or the dox But Also...

If You Are Using A Printer With A Print Driver Installed You May Need To look For Something In The Manual Regarding Command Prefix/Suffix It May Even Be In The Printer Properties Itself. For Instance When I Program Mag Stripe Printers (Those Printers That Print ID Cards Like Those At Hospitals Or Costco) There Is The Prefix To The Commands So The Printer Driver Does Muck With It And Passes The Commands Directly To The Printer To Encode The Mag Stripe On The Back Of The Card.

If There Is No Printer Driver Then You're Going Start The The LPT1 Port Try:

OPEN "LPT1:" FOR OUTPUT AS #1
PRINT #1,<Command Sequence For paper Cutter>
CLOSE #1

(I Think Thats The Code, Been Awhile Since I've Had To Deal Directly With Hardware I Miss DOS)

HTH,
Mike
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now