| | |
USB Printing
![]() |
•
•
Join Date: May 2008
Posts: 9
Reputation:
Solved Threads: 0
I route my output from a windows billing application through a text format. When I try to print this file through the USB port, I am unable to give a direct print. If I save to a file and print the same opening through notepad, the output is in graphic mode printing.
How to directly print a text file through a USB port in high speed draft format from a windows application?
How to directly print a text file through a USB port in high speed draft format from a windows application?
•
•
Join Date: Mar 2009
Posts: 811
Reputation:
Solved Threads: 147
You can use the Printer.Print "some text", or the shellexecuteex API with the print keyword and notepad should handle it for you...
With first suggestion if you do not know how to read and write text files, look up the following in vb's help on index tab...
FreeFile Function
Open Statement
Input Function
Line Input Function
Close Statement
Good Luck
With first suggestion if you do not know how to read and write text files, look up the following in vb's help on index tab...
FreeFile Function
Open Statement
Input Function
Line Input Function
Close Statement
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
![]() |
Similar Threads
- Sending PCL3 Laserjet files to USB printer (USB Devices and other Peripherals)
- Windows XP Keep Freezing (Windows NT / 2000 / XP)
- How can I switch from direct USB printing to print server in Mac OS X? (OS X)
- Compaq 2.0 PCI x 5 (PCI and Add-In Cards)
- Annoying Popups (Viruses, Spyware and other Nasties)
- Problem with the GForce 5200 card (Monitors, Displays and Video Cards)
- USB not recognizing items (USB Devices and other Peripherals)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Newbie ask how to create a form
- Next Thread: Check of table structure right or wrong
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





