Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Help in printing to non-default printer-VB6.0

Status
Not open for further replies.

jocno1212

The Saint
Advanced Member
Messages
884
Reaction score
5
Points
28
Hi po,

Meron na po ba sa inyo nakapagtry makapagprint ng datareport papunta sa printer na hindi naman set as default printer?

Option Explicit
Private Declare Function SetDefaultPrinter Lib "winspool.drv" _
Alias "SetDefaultPrinterA" _
(ByVal pszPrinter As String) As Long

'SetDefaultPrinter "EPSON TM-U220 Receipt"

Magsesend kasi ako ng print job sa POS printer ko, kaso pag siya ang nakadefault na printer, putol (sa right side) yung printing, kapag naman iba ang nakadefault na printer, tapos manually selected lang si POS printer para magprint, maayos na yung print output.

Anyone care to help?

Thank you!
 
Status
Not open for further replies.
Back
Top Bottom