Code: Select all
UseJPEGImageDecoder()
If PrintRequester()
If StartPrinting("Vector Print")
If StartVectorDrawing(PrinterVectorOutput())
;replace with your own jpg image
LoadImage(0, "A4_Letter.jpg")
DrawVectorImage(ImageID(0), 255, VectorOutputWidth(), VectorOutputHeight())
StopVectorDrawing()
EndIf
StopPrinting()
EndIf
EndIfCode: Select all
Gtk (CRITICAL): gtk-page_setup_get_paper_size:assertion 'GTK_IS_PAGE_SETUP (setup)' failedCode: Select all
WARNING: GDBus.Error:org.freedesktop.Avahi.TimeoutError reachedCode: Select all
DEBUG: no profile for device cups-Brother-Laser: nothing matched expression '*.*.600dpi,*.*.*,*.*.*'
