Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
Hi everybody,
Anybody knew the vb code on auto reverse printing of an ID Card Using the Javelin j430i model?
Any Help will be greatly appreciated. Tnx
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
what do you mean by reverse printing?
mirror image?
print both sides?
other?
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
print both sides of an ID Card in just one print process. We use a printer that has flip-over capability. Tnx in advance
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
printer.duplex = 2 (or 3 depending which way you want flipped)
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
i tried this one
printer.duplex=3 but still the error occur. "Duplex Property is read-only"
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
that would appear to be a feature of your printer driver
i do not get any error with printer.duplex = 3
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
what printer do u use sir? what are the possible settings for that problem?
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
can u show to me some of your codes on doing that sir?
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
Quote:
what printer do u use sir? what are the possible settings for that problem?
hp laserjet with builtin duplex
check you windows printer driver to make sure the auto duplex is enabled (installed) in device settings
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
hav u tried Javelin j430i ID Card Printer sir? it has a capability to print the face and the back side of an ID Card in just one printing process. It will automatically reverse the card for the back side printing after the front side.
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
no i have not tried with that printer, i have never even seen one
have you checked their website, or been in touch with their support personnel?
i can only say that normal duplex printing works fine using vb6
you can check if the printer driver uses some other value for duplex, by setting the printer driver default properties, to what you want to use, then read all the properties in a vb6 app
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
k tanx, i'l check that. I will ask ur help sir if i cant find that. tnx in advance. God bless
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
if you are using printform to print your id you can not automate duplex printing, as printer properties are not used in conjunction with printform
you need to use printer.print or printer.paintpicture, with printer.newpage to go to reverse side of card
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
this is my code using printform sir, what should i do w/ this to print all stuffs in my form as my id card design and using duplex?
Private Sub prints_Click()
Dim p As Printer, X As Long
On Error GoTo err
If MsgBox("Print All ID Cards [Face & Back Side]?", vbYesNo, Me.Caption) = vbYes Then
Set p = GetDefaultPrinter()
X = GetPrinterDuplex(p.DeviceName)
If CBool(X) Then
With face
.BorderStyle = 0
.PrintForm
.BorderStyle = 5
End With
p.Duplex = 3 'vbPRDPVertical
With back
.BorderStyle = 0
.PrintForm
.BorderStyle = 5
End With
p.Duplex = 1
Else
MsgBox "The default printer do not support duplex printing, check it please.", vbOKOnly, Me.Caption
End If
'End If
End If
Exit Sub
err:
MsgBox "Error: " & err.Description
End Sub
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
i am assuming that face and back are 2 forms
you can try, but i do not know if it will help
p.newpage
between face and back, as duplex is one page front and back
set duplex before printing anything
you may need to use a setprinterduplex function, that uses APIs
http://www.vbforums.com/showpost.php...8&postcount=11
i am not sure that cbool(x) will return false as you have not posted getprinteruplex function
here is an alternative to print form, from microsoft, gives better control and better quality of print http://support.microsoft.com/default...b;en-us;161299
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
can you take a look with my whole program sir? I still got a problem. I will send to you my prog if its ok to u. tnx
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
when i print the picture box using paintpicture, it prints the original size and the duplex do not work. the picture box contains other controls like image control, labels and lines. can you take a look my whole program sir?
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
i pm you before, with my email address
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
I already sent to you my program sir. (jst part of my program). tnx in advance
Re: Auto Reverse ID Card Printing Using Javelin j430i ID Card Printer
i sent again my prog to you sir with the needed ocx files. tnx