CNW:Counter

Linux & Disk Publisher II PRIMERA (Bravo II)

esky

If you won't comunicate with device Disk Publisher II from Linux, you find only binary driver of Primera for printing. This web page is for other functions.

On this download is system for robotic burn and print v0.4 with english version. There is old version v0.3 and v0.2. It is basic alternative of Windows aplication. In pack is binary Primera driver (bravo2) library commands for Bravo (bravo2function.sh), daemon for robotic burn or print (autoBurn) and web interface. Default install path is /srv/bravo2. Directory /srv/bravo2, /srv/bravo2/bravoInput, /srv/bravo2/bravoPrepare a /srv/bravo2/bravoRobot must have rights for group web server (www-data on Debian). Daemon autoBurn log all operation on file /var/log/apps/autoBurn.log.

Now generally:
Device is controlled sending command on /dev/usb/lp0 and /dev/sr0 is for sending data for burn. Format of commands is Esc+DATA+CRC. CRC is one sumary byte, computing over all bytes (with Esc).

I'm find this function writed with schematic language:
CodeMove
05R
80^=+
81^=
82^_
83^-
84+=^^=+
85_^^_
86-=
87-_
88_--_
89-_
8a=_
8b_==-
8c=_
8d~~
8e~=~
8f~-~
90~~
91~=~+
92^v
93=e
94=c
95ww
96w
97w
98=-
99??
9a^~~
9b~~
9cx
RReset
^Get media (in command read this symbol first, indicate direction of move)
vDrop media (is identical with get!)
Move with media right
Move with media 2x right
Move with media left
Move with media 2x left
~Move without media
Stop move
 
=Printer
-CD/DVD drive
_Place (left, front, right)
 
wCartridge
?Detect media
xOff device
eEject
cInsert
 
+Unknown function

Example:
CRC
ESC data command
1B 04 83 00 00 00 00 A2 (1B+04+83) get medium and move it in middle DVD drive
1B 04 8E 00 00 00 00 AD (1B+04+8E) move in middle printer

I find 2 types of command: combined and single. I use single command, better for use. Information about device is readable on /dev/usb/lp0. In 90 character is number firmware, date, error level, status and any oter information.

Device status is:
I - no action
B - in akci
C - open cover

Printer status:
I - closed and empty
O - open
D - full, with media
X - open and empty?

Robot status:
X - empty
O - full, with media

I'm add with this logic status of DVD drive:
I - closed and empty
O - open
D - full, with media
? - not identify

Printer is Lexmark Z600 series. I'm don't find open source driver, but original Primera driver is ok. Interesting is information about printer command. Have format Esc+DATA+CRC, but CRC is created only over DATA section without Esc.

Bugs:
Any picture Primera not printed. Print half, stoped and eject media. It is problem of data of this picture. Work a round: Change jpg quality from 85 to 75 and try reprint.

davidef at volny dot cz