Go Back   Access World Forums > Microsoft Access Discussion > General

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2007, 10:04 PM   #1
shahiq
Newly Registered User
 
Join Date: Mar 2007
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
shahiq is on a distinguished road
Printing Receipts on POS Printer-Epson

I have an access POS application which prints receipt on a receipt printer. I do not have a specified length of the receipt as sales vary in the quantity of items . Does anyone know how I can code it so that the last text is the end of the report and the paper is cut off right there? And also the printer is connected to Parallel port so i want these print commands to go to this particular port...

I wonder whether this could be done with printer driver installed.......... If so how the page length of receipt template has to be set. the width is ofcourse limited to 3 inches but as I told u guys length is unkown.....and dont think stillwe can resolve printing to specific printer issue(having driver nstalled).

thanks


Last edited by shahiq; 04-17-2007 at 10:16 PM.
shahiq is offline   Reply With Quote
Old 04-18-2007, 12:06 AM   #2
neileg
AWF VIP
 
neileg's Avatar
 
Join Date: Dec 2002
Location: Newcastle, England
Posts: 5,975
Thanks: 0
Thanked 8 Times in 8 Posts
neileg has a spectacular aura about neileg has a spectacular aura about
Presumably there's a command to tell the printer to end the receipt. Put this in the report footer.
__________________
You can't always get what you want, but if you try sometimes you may just get what you need - Rolling Stones

Cheers, Neil
neileg is offline   Reply With Quote
Old 04-18-2007, 04:33 AM   #3
shahiq
Newly Registered User
 
Join Date: Mar 2007
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
shahiq is on a distinguished road
Quote:
Originally Posted by neileg View Post
Presumably there's a command to tell the printer to end the receipt. Put this in the report footer.
wonder what kinda command that would be..........


shahiq is offline   Reply With Quote
Old 04-18-2007, 05:16 AM   #4
neileg
AWF VIP
 
neileg's Avatar
 
Join Date: Dec 2002
Location: Newcastle, England
Posts: 5,975
Thanks: 0
Thanked 8 Times in 8 Posts
neileg has a spectacular aura about neileg has a spectacular aura about
I would expect it to be in the printer documentation. It's not an Access function!
__________________
You can't always get what you want, but if you try sometimes you may just get what you need - Rolling Stones

Cheers, Neil
neileg is offline   Reply With Quote
Old 04-18-2007, 05:32 AM   #5
Dennisk
AWF VIP
 
Dennisk's Avatar
 
Join Date: Jul 2004
Posts: 1,649
Thanks: 0
Thanked 9 Times in 5 Posts
Dennisk will become famous soon enough
Older printers ie Dot matrix printers had a set of instructions called escape sequences as you sent <ESC> & other characters to control the printer. I commonly used it to set paper lenth to A4. As Neileg says get hold of the manual. Although you may have to send the escape sequence through a DOS batchfile.

Dennisk is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Printing Woes. EdFred General 1 03-20-2007 09:28 PM
Reports printing to wrong printer turtle2 Reports 1 03-23-2005 07:49 AM
Printing on POS printer STAR SP200 Stefanovski Modules & VBA 1 01-27-2005 11:20 AM
Printing to specific network printer casey Reports 2 11-13-2002 01:03 PM
Printing to a specific printer Jonathan Kok Reports 0 01-27-2000 11:44 AM




All times are GMT -8. The time now is 02:39 PM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World