Solved

Cut Paper command ??

Posted on 2004-04-24
4
419 Views
Last Modified: 2013-12-26
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
Comment
Question by:datan00b
4 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 85 total points
ID: 10933523
This is dependent on the printer.Have you checked the printer mfg's website for a programming manual for your specific printer.
0
 
LVL 3

Assisted Solution

by:mgronlund
mgronlund earned 85 total points
ID: 10986712
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question