If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > copy file to a printer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-03, 06:01
pelegk2 pelegk2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 26
copy file to a printer

i wanto use the copy() function
to copy a file into a printer
so it will print it
how do i do that?
thanks in advance
peleg
Reply With Quote
  #2 (permalink)  
Old 12-04-03, 23:54
i4u_dev4 i4u_dev4 is offline
Registered User
 
Join Date: Oct 2003
Posts: 13
Smile c if it can help u

I think that not the very good idea , printer never understand any file format they understand drivers language , c if you can create a print.prn file with the printer driver and then run this simple command on root prompt ,

>> copy printer.prn > lpt1

it will send file to printer , usually on websites , every one just calls

window.print.open

javascript rest end user will select the printer and print the html page
__________________
Manish Khanna
manish@i4u.com.au
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On