View Issue Details

IDProjectCategoryView StatusLast Update
0038166LazarusPrinterpublic2021-01-20 20:38
ReporterRon Etherington Assigned ToJesus Reyes  
Status feedbackResolutionopen 
OSWindows 10 
Product Version2.0.6 
Summary0038166: New HP printer drivers clash with Lazarus printer
DescriptionJust bought a HP De4skjet 2724 and found that the Datatype RAW does not work with this new driver. Discovered a comment on the HP forum that a Datatype of XPS_PASS may be required. I am attaching a linedemo sent to me on the Lazarus forum by Hero member 'wp' as illustrating the problem. Although it occurred on my new HP printer it may occur anywhere the v4 drivers are used
Steps To ReproduceRun the attached linedemo on a printer with v4 drivers
TagsNo tags attached.
Fixed in Revision
Attached Files


Ron Etherington

2020-12-04 12:58

reporter (1,934 bytes)

Jesus Reyes

2021-01-20 20:37

developer   ~0128454

Last edited: 2021-01-20 20:38

View 2 revisions

'RAW' or 'XPS_PASS' are DataType values that can be used when raw mode is enabled, but in your example no raw mode is enabled.
Anyaway please open Printers4Lazarus package and open the file, then locate the TWinPrinter.DoBeginDoc procedure,
locate the 'RAW' string and change it by 'XPS_PASS', recompile your application and if that fixes the problem in your case,
then we can add code to fix this problem according to

Issue History

Date Modified Username Field Change
2020-12-04 12:58 Ron Etherington New Issue
2020-12-04 12:58 Ron Etherington File Added:
2021-01-20 20:37 Jesus Reyes Assigned To => Jesus Reyes
2021-01-20 20:37 Jesus Reyes Status new => feedback
2021-01-20 20:37 Jesus Reyes LazTarget => -
2021-01-20 20:37 Jesus Reyes Note Added: 0128454
2021-01-20 20:38 Jesus Reyes Note Edited: 0128454 View Revisions