|
-
Jul 12th, 2000, 06:33 PM
#1
Thread Starter
Member
Hello
I am finishing a POS app. I am using a Star sp200
receipt ptint (not default printer). Has anyone ever
written to a printer like this. I know that I've written
to a Parallel port printer before(default printer). I
just can't remember how I did it (Age Problem)?
Any help (sample code) would be very COOL!
Thank's
William
-
Nov 27th, 2001, 07:52 AM
#2
Addicted Member
Hi,
Hows ya Point of Sale program? Wanted to ask if you know how to print an image to a receipt printer without performing a page feed afterwards? Can i check out your POS System?
-
Nov 27th, 2001, 08:15 AM
#3
Hyperactive Member
Printer object
William,
You probably want the printer object, and you'll have to set it to be the Star by looping thru all printers till it finds the right one. Assuming the Star is installed in Windows, and is called 'Star', here's how you set it:
VB Code:
Dim aPrinter As Printer
For Each aPrinter In Printers
Debug.Print aPrinter.DeviceName
If aPrinter.DeviceName = "Star" Then
Debug.Print "Found it!"
Set Printer = aPrinter
Exit For
End If
Next
-
Nov 27th, 2001, 08:35 AM
#4
Well ...
And if it's serially connected, be sure to include the MSComm control in your form.
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|