Tried to fine the PrinterLib topic but could not find it.
I tried getting the Print Properties window but could not get it running. Then I looked at the code, I am wondering if PrinterProperties_(0,PrintLib_PH) should be PrinterProperties_(hwnd,PrintLib_PH)?
Print_Font(Font$, Height.l [, Flags.l [, Rotate.l]])
Description:
Changes the current font.
Flags can be a combination of the following :
#PB_Font_Bold
#PB_Font_Italic
#PB_Font_Underline
#PB_Font_StrikeOut
#PB_Font_HighQuality
#PB_Font_HighQuality + 1 = Antialised Quality
#PB_Font_HighQuality + 2 = Cleartype Quality
'Rotate' specifies the angle, in tenths of degrees.
t_printer_title$ = "MyJob"
If Print_OpenPrinter()
Print_StartDoc(t_printer_title$)
Print_Font("Calibri", 50)
Print_WriteStringN(t_printer_title$)
For a = 1 To 10
Print_WriteStringN("Line " + Str(a))
Next
Print_EndDocPrinter()
EndIf
The Example 02 - Raw Print does the same as well...
I'm guessing you are trying to print some text in raw mode !?
Well the printer only prints something it does understand and i don't know what model you are dealing with and what emulation is neccessary to print in raw mode.
I hope that at least the preview sample prints something ?
have you tried some debug output ? It´s possible that there is an error opening the printer or starting the document.
For the Xerox printer i can´t find any information on the web, can you send me a link or the driver via mail ?