Третья версия драйвера (если можно так выразиться). В данный момент внутрь usblp3.obj вкомпилирован файл в формате PCL5, подходящий для большинства лазерных принтеров. Эта версия драйвера должна заставить работать принтер как минимум у 0CodErr, но может быть, поможет и Mario.
This version of driver now supports USB 1284.4 (DOT4) printers (sets it to bidir mode), obj file is compiled with PCL5 test page, suitable for most laser printers. It is possible to compile it with PostScript test file, but it's better to check which printer control languages are supported by your printer.
USB-принтеры для USB-ядра
-
- Attachments
-
-
usblp3.obj (16.11 KiB)Downloaded 281 times
-
usblp3.asm (7.52 KiB)Downloaded 282 times
-
Если у вас есть желание получить рабочий принтер в Колибри, не поленитесь - сделайте снифф печати тестовой страницы (скажем, белого листа с надписью Test) из Windows или Linux.
В Windows поможет http://www.wingmanteam.com/usbsnoopy/ или Wireshark+usbpcap
В Linux - Wireshark + usbmon
В Windows поможет http://www.wingmanteam.com/usbsnoopy/ или Wireshark+usbpcap
В Linux - Wireshark + usbmon
usblp3.obj
Spoiler:
Не совсем так, как должно было быть - шрифты немного не те, но в этом файле нет embedded-шрифтов. На некоторых принтеров вместо текста вообще может быть пустое место - но это не имеет большого значения, шрифты можно подключать, и это легко. Поздравляю!
Маленькая правка. Я не тестировал, но хуже стать не должно.
hindplayr, please, test this driver with printer which wrote "Error: invalid endpoint"
hindplayr, please, test this driver with printer which wrote "Error: invalid endpoint"
- Attachments
-
-
usblp3.asm (7.52 KiB)Downloaded 266 times
-
usblp3.obj (16.11 KiB)Downloaded 265 times
-
Не помогло.SoUrcerer wrote:но может быть, поможет и Mario.
Spoiler:
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!
error: invalid endpoint descriptor (hp deskjet 940c=07/01/02)SoUrcerer wrote:Маленькая правка. Я не тестировал, но хуже стать не должно.
hindplayr, please, test this driver with printer which wrote "Error: invalid endpoint"
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
W7, скачал по ссылке, запустил, есть только "USB Printing Support" и другого печатного в списке нет, но есть много Unknown Device. Присоединился кSoUrcerer wrote:сделайте снифф печати тестовой страницы (скажем, белого листа с надписью Test) из Windows или Linux.
В Windows поможет http://www.wingmanteam.com/usbsnoopy/ или Wireshark+usbpcap
В Linux - Wireshark + usbmon
"USB Printing Support", дальше не понял чего делать - никаких запросов не выдает и если куда и пишется чего, то я не знаю куда.
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!
lsusb -v please. I want to know endpoints of your printer. Also, I have some ideas how to fix it.
Mario, для твоего принтера остается выбрать формат данных
Mario, для твоего принтера остается выбрать формат данных
I used this "USB View" tool: http://bit.ly/a3NnbOSoUrcerer wrote:lsusb -v please. I want to know endpoints of your printer.
Spoiler:
Device Descriptor:bcdUSB: 0x0110
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x08 (8)
idVendor: 0x03F0 (Hewlett Packard)
idProduct: 0x1604
bcdDevice: 0x0100
iManufacturer: 0x01
0x0409: "Hewlett-Packard"
iProduct: 0x02
0x0409: "DeskJet 940C"
iSerialNumber: 0x03
0x0409: "HU2311P367CO"
bNumConfigurations: 0x01
ConnectionStatus: DeviceConnected
Current Config Value: 0x00
Device Bus Speed: Full
Device Address: 0x02
Open Pipes: 0
Configuration Descriptor:
wTotalLength: 0x0020
bNumInterfaces: 0x01
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xC0 (Bus Powered Self Powered )
MaxPower: 0x01 (2 Ma)
Interface Descriptor:
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x07
bInterfaceSubClass: 0x01
bInterfaceProtocol: 0x02
iInterface: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x81 IN
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
Endpoint Descriptor:
bEndpointAddress: 0x02 OUT
Transfer Type: Bulk
wMaxPacketSize: 0x0040 (64)
bInterval: 0x00
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Hidnplayr, that's pretty weird, because these endpoints should be detected good. Pretty strange. Also, I checked few printers with BULK OUT 0x02, they worked pretty normal. So, please, check next version of driver.
Новая версия драйвера, информация об устройстве теперь должна выводиться на доску отладки. Я не уверен, что будет работать у всех - но нужно тестировать.
New driver version, now we're trying to get printer capabilities - so we'll know which exactly data format printer want to use.
New driver version, now we're trying to get printer capabilities - so we'll know which exactly data format printer want to use.
- Attachments
-
-
usblp4.asm (8.31 KiB)Downloaded 277 times
-
usblp4.obj (16.77 KiB)Downloaded 279 times
-
After a lot of printer noises, the test page came out of the HP940c printer (PCL5 format)
Printer ID is MFG:HEWLETT-PACKARD;MDL:DESKJET 940C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 940C;SERN:HV2311P367C0;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,KO,CO,SM,NR,KP029,CP100;VP:0800,FL,B0,VJ: ;
Printer ID is MFG:HEWLETT-PACKARD;MDL:DESKJET 940C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 940C;SERN:HV2311P367C0;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,KO,CO,SM,NR,KP029,CP100;VP:0800,FL,B0,VJ: ;
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Just fine, DeskJets are working too. Good HP
The pixma IP4000 does not even start to print as expected.
Printer ID is MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP4000;CLS:PRINTER;DES:Canon iP4000;VER:1.09;STA:10;FSI:03;
Printer ID is MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP4000;CLS:PRINTER;DES:Canon iP4000;VER:1.09;STA:10;FSI:03;
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Who is online
Users browsing this forum: No registered users and 5 guests