Solved

Cut Paper command ??

Posted on 2004-04-24
4
420 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

820 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