I got a HP T120 printer-plotter a couple of days ago. This is a printer with a thermal jet head, and the ability to print on rolls of 610mm, for its quality and speed is very even budget.
Unpacking it and connecting to wifi, I started to connect.
First I checked what Debian testing Cups has, it turned out that nothing like it is there. It is useful to search for “driver”, on the HP website there is a link in the drivers with the name Linux, but the page is empty.
A little upset, I decided to look at what he was capable of at all, plugged in ePrint, a fun function, but the processing of tasks is very slow and you cannot change the parameters, it prints only in normal quality.
I began to think further, in a large amount of useless information I fished out some pieces of information thanks to which I realized that I could try typing through hpijs. After several attempts, I got to the working ppd from hp deskjet 990C, it prints a4 sheets, the 1200dpi mode also works.
But this was not enough for me, I need the ability to print large formats. Fixed ppd by adding A2 and A1 formats to it, and in voila it began to print on roll in the right formats.
')
Rows responsible for ripping* FoomaticIDs: "HP-DeskJet_990C hpijs"
* FoomaticRIPCommandLine: “gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA &&
USE -dNOINTERPOLATE -sDEVICE = ijs -sIjsServer = hpijs% A% B% C -dIjsUseOutputFD% Z -sOutputFi &&
le = - - "
* End
Strings that add dimensions A1 and A2* FoomaticRIPOptionSetting PageSize = A2: "-dDEVICEWIDTHPOINTS = 1190 -dDEV &&
ICEHEIGHTPOINTS = 1684 "
* End
* FoomaticRIPOptionSetting PageSize = A1: "-dDEVICEWIDTHPOINTS = 1684 -dDEV &&
ICEHEIGHTPOINTS = 2380 "
* End
Strings for CustomSize running mode* VariablePaperSize: True
* NonUIOrderDependency: 100 AnySetup * CustomPageSize
* FoomaticRIPOptionSetting PageSize = Custom: "-dDEVICEWIDTHPOINTS = 1729 -dD &&
EVICEHEIGHTPOINTS = 136000 "
* End
* MaxMediaWidth: "1729"
* MaxMediaHeight: "136000"
* HW Margins: 18 36 18 9
* CustomPageSize True: “pop pop pop << / PageSize [5 -2 roll] / ImagingBBox null >> setpagedevice”
* ParamCustomPageSize Width: 1 points 72 1729
* ParamCustomPageSize Height: 2 points 288 136000
* ParamCustomPageSize WidthOffset: 3 points 0 0
* ParamCustomPageSize HeightOffset: 4 points 0 0
* ParamCustomPageSize Orientation: 5 int 0 0
UPD: ppd file, it’s also a driver you can download here
HP T120 Driver for LinuxUPD2: When solving the issue with printing in landscape (landscape) mode, a bug was detected that has not yet been resolved on bugs.scribus.net.
Due to the fact that in postscript 3 you do not need to add 90 rotate on every page, when converting pstops to ghostscript it does this itself, respectively, deleting 4 lines from /scribus/pslib.cpp, we get a stable landscape print from scribus.
Lines to be removed from / subscribers / pslib.cppif (pg-> PageOri == 1 && psExport)
PutStream (“90 rotate 0„ + IToStr (qRound (maxBoxY)) + “neg translate \ n”);
and
if (ActPage-> PageOri == 1 && psExport)
PutStream (“90 rotate 0„ + IToStr (qRound (maxBoxY)) + “neg translate \ n”);