elog2labfolder/_build/html/_sources/installation_cups.rst.txt
changeset 18 57431f642e82
parent 15 523ca1dfd077
equal deleted inserted replaced
17:02a3741242b2 18:57431f642e82
     1 Printing via CUPS and attaching files to labfolder logbooks
     1 Printing via CUPS and attaching files to labfolder logbooks
     2 ===========================================================
     2 ===========================================================
     3 
     3 
     4 Follow this guide to set up CUPS virtual printers to be able to print webpages and pictures/files (PDF, PNG, JPG, PS) to one of labfolder's logbooks, thus, creating a new entry with an attachment. If you are an admin of the labfolder VM read the section :ref:`section_cups_admin`. Users of labfolder read the section :ref:`section_cups_user`.
     4 Follow this guide to set up CUPS virtual printers to be able to print webpages and pictures/files (PDF, PNG, JPG, PS) to one of labfolder's logbooks, thus, creating a new entry with an attachment. If you are an admin of the labfolder VM read the section :ref:`section_cups_admin`. Users of labfolder read the section :ref:`section_cups_user`.
       
     5 
     5 
     6 
     6 
     7 
     7 .. _section_cups_admin:
     8 .. _section_cups_admin:
     8 
     9 
     9 Set up CUPS as labfolder admin
    10 Set up CUPS as labfolder admin
   119 	Enter password:
   120 	Enter password:
   120 	...
   121 	...
   121 	mysql> use labfolder;
   122 	mysql> use labfolder;
   122 	mysql> INSERT INTO user (email, password, firstname, lastname, signupTimestamp, maxStorage) VALUES ('printer@fhi-berlin.mpg.de', '91a13f2aba4a35b00c35dfacadd1d75f4a5171dfa7a465fca9c40e6b007ce982', 'Printer', 'Print', '2018-03-21 10:54:00', '10000000');
   123 	mysql> INSERT INTO user (email, password, firstname, lastname, signupTimestamp, maxStorage) VALUES ('printer@fhi-berlin.mpg.de', '91a13f2aba4a35b00c35dfacadd1d75f4a5171dfa7a465fca9c40e6b007ce982', 'Printer', 'Print', '2018-03-21 10:54:00', '10000000');
   123 
   124 
       
   125 Das Passwort steht für "test1234". Der entsprechende Hash-Wert im MySQL-Kommando wurde von Florian Hauer (labfolder) erstellt.
       
   126 
       
   127 
   124 
   128 
   125 .. _section_cups_user:
   129 .. _section_cups_user:
   126 
   130 
   127 Printing to labfolder projects
   131 Printing to labfolder projects
   128 ------------------------------
   132 ------------------------------
   129 
   133 
   130 The last thing you need to do is to set up a printer *operating* on your local machine. In Ubuntu Gnome hit Alt+F2 keys and enter ``system-config-printer``. In this printer config interface add a new printer *operating* as follows:
   134 The last thing you need to do is to set up a printer, for example, *operating* on your local machine. In Ubuntu Gnome hit Alt+F2 keys and enter ``system-config-printer``. In this printer config interface add a new printer *operating* as follows:
   131 
   135 
   132 .. image:: _static/create_local_printer01.png
   136 .. image:: _static/create_local_printer01.png
   133    :width: 70 %
   137    :width: 70 %
   134    :align: center
   138    :align: center
   135 
   139 
   161 
   165 
   162 .. image:: _static/create_local_printer07.png
   166 .. image:: _static/create_local_printer07.png
   163    :width: 70 %
   167    :width: 70 %
   164    :align: center
   168    :align: center
   165 
   169 
       
   170 Now, just select this printer when printing a webpage or a picture to a labfolder project.
       
   171