1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2025-05-13 23:32:59 +00:00

cleanup unneeded stuff

This commit is contained in:
Dominic Radermacher 2017-11-12 19:35:03 +01:00
parent 20820ec688
commit 5014bf4b51
3 changed files with 27 additions and 251 deletions

1
README
View File

@ -1 +0,0 @@
README.md

27
README Normal file
View File

@ -0,0 +1,27 @@
About:
ptouch is a command line tool to print labels on Brother P-Touch
printers on Linux.
There is no need to install the printer via CUPS, the printer is accessed
directly via libusb.
The tool was written for and tested with the PT-2430PC, but it should also
work with the PT-1230PC (untested so far).
Maybe others work too (please report USB VID and PID so I can include support
for further models, too).
Further info can be found at:
https://mockmoon-cybernetics.ch/computer/p-touch2430pc/
Compile instructions:
autoreconf -i
./configure --prefix=/usr
make
Note:
Dear visitor, currently I have absolutely no time for improvements on this
project (my free time currently is about one or two hours PER MONTH).
Therefore, I can not look at suggestions about improvements.

View File

@ -1,27 +0,0 @@
# About
ptouch is a command line tool to print labels on Brother P-Touch
printers on Linux.
There is no need to install the printer via CUPS, the printer is accessed
directly via libusb.
The tool was written for and tested with the PT-2430PC, but it should also
work with the PT-1230PC (untested so far).
Maybe others work too (please report USB VID and PID so I can include support
for further models, too).
Further info can be found at:
https://mockmoon-cybernetics.ch/computer/p-touch2430pc/
# Compile instructions
autoreconf -i
./configure --prefix=/usr
make
# Note
Dear visitor, currently I have absolutely no time for improvements on this
project (my free time currently is about one or two hours PER MONTH).
Therefore, I can not look at suggestions about improvements.

View File

@ -1,223 +0,0 @@
<?xml version="1.0"?>
<interface>
<object class="GtkWindow" id="editorwindow">
<property name="visible">True</property>
<property name="title" translatable="yes">ptouch-print-gtk</property>
<property name="icon">/usr/share/pixmaps/ptouch-gtk.png</property>
<signal handler="on_window_destroy" name="delete_event"/>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="previewscroll">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="vscrollbar_policy">never</property>
<property name="window_placement">bottom-right</property>
<child>
<object class="GtkViewport" id="viewport1">
<property name="visible">True</property>
<property name="resize_mode">queue</property>
<child>
<object class="GtkImage" id="preview">
<property name="visible">True</property>
<property name="app_paintable">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Preview area</property>
<property name="stock">gtk-missing-image</property>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="Line 1">
<property name="visible">True</property>
<property name="label_xalign">0</property>
<child>
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<property name="left_padding">12</property>
<child>
<object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEntry" id="entry1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x2022;</property>
<signal handler="update_preview" name="changed"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox1">
<property name="visible">True</property>
<property name="spacing">2</property>
<child>
<object class="GtkFontButton" id="fontselect1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Font for 1st line</property>
<property name="use_font">True</property>
<signal handler="update_preview" name="font_set"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;1st line&lt;/b&gt;</property>
<property name="use_markup">True</property>
</object>
</child>
</object>
<packing>
<property name="padding">2</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="Line 2">
<property name="visible">True</property>
<property name="label_xalign">0</property>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="left_padding">12</property>
<child>
<object class="GtkVBox" id="vbox3">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEntry" id="entry2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x2022;</property>
<signal handler="update_preview" name="changed"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="spacing">2</property>
<child>
<object class="GtkFontButton" id="fontselect2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Font for 2nd line</property>
<property name="use_font">True</property>
<signal handler="update_preview" name="font_set"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;2nd line&lt;/b&gt;</property>
<property name="use_markup">True</property>
</object>
</child>
</object>
<packing>
<property name="padding">2</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">2</property>
<child>
<object class="GtkButton" id="printbutton">
<property name="label">gtk-print</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Print</property>
<property name="use_stock">True</property>
<signal handler="print_all" name="clicked"/>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="About">
<property name="label">gtk-about</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">About this program</property>
<property name="use_stock">True</property>
<signal handler="show_about" name="clicked"/>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="quitbutton">
<property name="label">gtk-quit</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Quit the program</property>
<property name="use_stock">True</property>
<signal handler="on_window_destroy" name="clicked"/>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="position">4</property>
</packing>
</child>
</object>
</child>
</object>
</interface>