from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

82559

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->net-fs->samba

Written by torgrimt@sysrq.no

You will need to have a working install of samba. For windows you can use the apple laser printers drivers. Use one that has colors and high resolution.

Remeber to credit me if you use this. thanks torgrimt at sysrq.no/

Put this in smb.conf

   [smbpdf]
comment = PDF Generator
path = /var/spool/samba
printable = Yes
print command = /usr/sbin/pdfprint %s %U %G %m %I %H

And the script to convert the files to pdf... You will have to make the dir spesified in OUTPUTPATH in the users homedir.

   #!/bin/bash
#convert to pdf
#$1=spool file $2=uid $3=gid $4=machinename $5=ip $6=homedir
FILENAME=pdf-$2-`date +%d%m%H%M%S`.pdf
OUTPUTPATH=$6/pdfwriter
echo converting $1 to $FILENAME for $2 of machine $4... $6>> $OUTPUTPATH/pdfcreate.log
/usr/bin/ps2pdf $1 $OUTPUTPATH/$FILENAME >> $OUTPUTPATH/pdfcreate.log 2>> $OUTPUTPATH/pdfcreate.log
echo conversion finished, removing $1 >> $OUTPUTPATH/pdfcreate.log
rm $1
echo done, setting permissions and notifing user >> $OUTPUTPATH/pdfcreate.log
chown $2:$3 $6/$FILENAME >> $OUTPUTPATH/pdfcreate.log
chmod 700 $6/$FILENAME >> $OUTPUTPATH/pdfcreate.log
echo your new PDF is called $FILENAME. | smbclient -M $4 -I $5
echo All done. >> $OUTPUTPATH/pdfcreate.log
echo >> $OUTPUTPATH/pdfcreate.log
back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-12-22
adwaita-icon-theme - 49.0
Ebuild name:

x11-themes/adwaita-icon-theme-49.0

Description

GNOME default icon theme

Added to portage

2025-12-22

gnome-backgrounds - 49.0
Ebuild name:

x11-themes/gnome-backgrounds-49.0

Description

A set of backgrounds packaged with the GNOME desktop

Added to portage

2025-12-22

idea-community - 2025.3.1
Ebuild name:

dev-util/idea-community-2025.3.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-12-22

langkit - 25.0.0-r6
Ebuild name:

dev-ada/langkit-25.0.0-r6

Description

A Python framework to generate language parsers

Added to portage

2025-12-22

libnotify - 0.8.7
Ebuild name:

x11-libs/libnotify-0.8.7

Description

A library for sending desktop notifications

Added to portage

2025-12-22

lxterminal - 0.4.0_p20230917-r1
Ebuild name:

lxde-base/lxterminal-0.4.0_p20230917-r1

Description

Lightweight vte-based tabbed terminal emulator for LXDE

Added to portage

2025-12-22

mpvqt - 1.1.1-r2
Ebuild name:

media-libs/mpvqt-1.1.1-r2

Description

libmpv wrapper for QtQuick2 and QML

Added to portage

2025-12-22

pyro5 - 5.16
Ebuild name:

dev-python/pyro5-5.16

Description

Distributed object middleware for Python (RPC)

Added to portage

2025-12-22

qgis - 3.44.6
Ebuild name:

sci-geosciences/qgis-3.44.6

Description

User friendly Geographic Information System

Added to portage

2025-12-22

qmidiarp - 0.7.1_p20251217-r1
Ebuild name:

media-sound/qmidiarp-0.7.1_p20251217-r1

Description

Arpeggiator, sequencer and MIDI LFO for ALSA

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

gui-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

x11-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

gui-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

x11-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte-common - 0.82.2
Ebuild name:

gui-libs/vte-common-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

xfce4-terminal - 1.1.4-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.4-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

xfce4-terminal - 1.1.5-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.5-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

2025-12-21
borgmatic - 2.0.13
Ebuild name:

app-backup/borgmatic-2.0.13

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2025-12-21

debootstrap - 1.0.142
Ebuild name:

dev-util/debootstrap-1.0.142

Description

Debian/Ubuntu bootstrap scripts

Added to portage

2025-12-21

dmidecode - 3.7
Ebuild name:

sys-apps/dmidecode-3.7

Description

DMI (Desktop Management Interface) table related utilities

Added to portage

2025-12-21

doggo - 1.1.3
Ebuild name:

net-dns/doggo-1.1.3

Description

Command-line DNS Client for Humans

Added to portage

2025-12-21

ed - 1.22.3
Ebuild name:

sys-apps/ed-1.22.3

Description

Your basic line editor

Added to portage

2025-12-21

epiphany - 49.2
Ebuild name:

www-client/epiphany-49.2

Description

GNOME webbrowser based on Webkit

Added to portage

2025-12-21

flog - 4.9.1
Ebuild name:

dev-ruby/flog-4.9.1

Description

Flog reports the most tortured code in an easy to read pain report

Added to portage

2025-12-21

fq - 0.16.0
Ebuild name:

dev-util/fq-0.16.0

Description

Tool for working with binary data (app-misc/jq for binary formats)

Added to portage

2025-12-21

gammastep - 2.0.11-r1
Ebuild name:

x11-misc/gammastep-2.0.11-r1

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

gcc - 13.4.1_p20251218
Ebuild name:

sys-devel/gcc-13.4.1_p20251218

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 14.3.1_p20251219
Ebuild name:

sys-devel/gcc-14.3.1_p20251219

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 15.2.1_p20251220
Ebuild name:

sys-devel/gcc-15.2.1_p20251220

Description

The GNU Compiler Collection

Added to portage

2025-12-21

git-cola - 4.16.1
Ebuild name:

dev-vcs/git-cola-4.16.1

Description

The highly caffeinated git GUI

Added to portage

2025-12-21

gitea - 1.25.3
Ebuild name:

www-apps/gitea-1.25.3

Description

A painless self-hosted Git service

Added to portage

2025-12-21

glibc - 2.41-r8
Ebuild name:

sys-libs/glibc-2.41-r8

Description

GNU libc C library

Added to portage

2025-12-21

glibc - 2.42-r3
Ebuild name:

sys-libs/glibc-2.42-r3

Description

GNU libc C library

Added to portage

2025-12-21

gnatcoll-db - 26.0.0
Ebuild name:

dev-ada/gnatcoll-db-26.0.0

Description

GNAT Component Collection

Added to portage

2025-12-21

gnome-connections - 49.0
Ebuild name:

net-misc/gnome-connections-49.0

Description

A remote desktop client for the GNOME desktop environment

Added to portage

2025-12-21

gnome-font-viewer - 49.0
Ebuild name:

media-gfx/gnome-font-viewer-49.0

Description

Font viewer utility for GNOME

Added to portage

2025-12-21

gnome-maps - 49.2
Ebuild name:

sci-geosciences/gnome-maps-49.2

Description

A map application for GNOME

Added to portage

2025-12-21

gnome-music - 49.1
Ebuild name:

media-sound/gnome-music-49.1

Description

Music management for Gnome

Added to portage

2025-12-21

gnome-online-accounts - 3.54.8
Ebuild name:

net-libs/gnome-online-accounts-3.54.8

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-online-accounts - 3.56.2
Ebuild name:

net-libs/gnome-online-accounts-3.56.2

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-usage - 48.0
Ebuild name:

sys-process/gnome-usage-48.0

Description

A nice way to view information about use of system resources

Added to portage

2025-12-21

gphoto2 - 2.5.32
Ebuild name:

media-gfx/gphoto2-2.5.32

Description

Free, redistributable digital camera software application

Added to portage

2025-12-21

humanize - 4.15.0
Ebuild name:

dev-python/humanize-4.15.0

Description

Common humanization utilities

Added to portage

2025-12-21

igbinary - 3.2.15_p20251126
Ebuild name:

dev-php/igbinary-3.2.15_p20251126

Description

A fast drop-in replacement for the standard PHP serialize

Added to portage

2025-12-21

labwc - 0.9.2-r1
Ebuild name:

gui-wm/labwc-0.9.2-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

labwc - 0.9.3-r1
Ebuild name:

gui-wm/labwc-0.9.3-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

libgphoto2 - 2.5.33
Ebuild name:

media-libs/libgphoto2-2.5.33

Description

Library that implements support for numerous digital cameras

Added to portage

2025-12-21

libnetfilter_acct - 1.0.3-r1
Ebuild name:

net-libs/libnetfilter_acct-1.0.3-r1

Description

Library providing interface to extended accounting infrastructu

Added to portage

2025-12-21

libpanel - 1.10.3
Ebuild name:

gui-libs/libpanel-1.10.3

Description

A dock/panel library for GTK 4

Added to portage

2025-12-21

libvisual-projectm - 2.1.2
Ebuild name:

media-plugins/libvisual-projectm-2.1.2

Description

A libvisual graphical music visualization plugin similar to

Added to portage

2025-12-21

libwpe - 1.16.3
Ebuild name:

gui-libs/libwpe-1.16.3

Description

Platform-agnostic interfaces for WPE WebKit

Added to portage

2025-12-21

magiccube4d - 4.3.343-r1
Ebuild name:

games-puzzle/magiccube4d-4.3.343-r1

Description

Four-dimensional analog of Rubik's cube

Added to portage

2025-12-21

mobile-broadband-provider-info - 20251101
Ebuild name:

net-misc/mobile-broadband-provider-info-20251101

Description

Database of mobile broadband service providers

Added to portage

2025-12-21

mpg123-base - 1.33.4
Ebuild name:

media-sound/mpg123-base-1.33.4

Description

Realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3

Added to portage

2025-12-21

mpg123-output-plugins - 1.33.4
Ebuild name:

media-plugins/mpg123-output-plugins-1.33.4

Description

Plugins for mpg123, the realtime MPEG 1.0/2.0/2.5 audio

Added to portage

2025-12-21

mycli - 1.42.0
Ebuild name:

dev-db/mycli-1.42.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2025-12-21

networkmanager - 1.54.3
Ebuild name:

net-misc/networkmanager-1.54.3

Description

A set of co-operative tools that make networking simple and straight

Added to portage

2025-12-21

nodeenv - 1.10.0
Ebuild name:

dev-python/nodeenv-1.10.0

Description

Node.js virtual environment builder

Added to portage

2025-12-21

numpy - 2.4.0
Ebuild name:

dev-python/numpy-2.4.0

Description

Fast array and numerical python library

Added to portage

2025-12-21

osinfo-db - 20251212
Ebuild name:

sys-apps/osinfo-db-20251212

Description

Osinfo database for virtualization provisioning tools

Added to portage

2025-12-21

pecl-imagick - 3.8.1
Ebuild name:

dev-php/pecl-imagick-3.8.1

Description

PHP wrapper for the ImageMagick library

Added to portage

2025-12-21

pecl-redis - 6.3.0
Ebuild name:

dev-php/pecl-redis-6.3.0

Description

PHP extension for interfacing with Redis

Added to portage

2025-12-21

pkgcraft-tools - 0.0.31
Ebuild name:

sys-apps/pkgcraft-tools-0.0.31

Description

pkgcraft-based tools for Gentoo

Added to portage

2025-12-21

pkgcruft - 0.0.18
Ebuild name:

dev-util/pkgcruft-0.0.18

Description

QA library and tools based on pkgcraft

Added to portage

2025-12-21

pkgcruft-git - 0.0.5
Ebuild name:

dev-vcs/pkgcruft-git-0.0.5

Description

QA support for verifying git commits via pkgcruft

Added to portage

2025-12-21

radicale - 3.5.10
Ebuild name:

www-apps/radicale-3.5.10

Description

A simple CalDAV calendar server

Added to portage

2025-12-21

rb_sys - 0.9.123
Ebuild name:

dev-ruby/rb_sys-0.9.123

Description

Easily build Ruby native extensions in Rust

Added to portage

2025-12-21

redshift - 1.12-r14
Ebuild name:

x11-misc/redshift-1.12-r14

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

rest - 0.10.2
Ebuild name:

net-libs/rest-0.10.2

Description

Helper library for RESTful services

Added to portage

2025-12-21

rhythmbox - 3.4.9
Ebuild name:

media-sound/rhythmbox-3.4.9

Description

Music management and playback software for GNOME

Added to portage

2025-12-21

ruby_parser - 3.22.0
Ebuild name:

dev-ruby/ruby_parser-3.22.0

Description

A ruby parser written in pure ruby

Added to portage

2025-12-21

safeeyes - 3.3.0
Ebuild name:

x11-misc/safeeyes-3.3.0

Description

Linux alternative to EyeLeo

Added to portage

2025-12-21

scikit-image - 0.26.0
Ebuild name:

dev-python/scikit-image-0.26.0

Description

Image processing routines for SciPy

Added to portage

2025-12-21

shotwell - 0.32.14
Ebuild name:

media-gfx/shotwell-0.32.14

Description

Open source photo manager for GNOME

Added to portage

2025-12-21

simsimd - 6.5.12
Ebuild name:

dev-python/simsimd-6.5.12

Description

Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm

Added to portage

2025-12-21

sip - 6.15.1
Ebuild name:

dev-python/sip-6.15.1

Description

Python bindings generator for C/C++ libraries

Added to portage

2025-12-21

smbus2 - 0.6.0
Ebuild name:

dev-python/smbus2-0.6.0

Description

A drop-in replacement for smbus-cffi/smbus-python in pure Python

Added to portage

2025-12-21

soju - 0.10.1
Ebuild name:

net-irc/soju-0.10.1

Description

soju is a user-friendly IRC bouncer

Added to portage

2025-12-21

subtitleeditor - 0.55.0
Ebuild name:

media-video/subtitleeditor-0.55.0

Description

GTK+3 subtitle editing tool

Added to portage

2025-12-21

widelands - 1.3
Ebuild name:

games-strategy/widelands-1.3

Description

Game similar to Settlers 2

Added to portage

2025-12-21

wpebackend-fdo - 1.16.1
Ebuild name:

gui-libs/wpebackend-fdo-1.16.1

Description

WPE backend designed for Linux desktop systems

Added to portage

2025-12-21

xdg-desktop-portal-gnome - 49.0
Ebuild name:

sys-apps/xdg-desktop-portal-gnome-49.0

Description

Backend implementation for xdg-desktop-portal using GNOME

Added to portage

2025-12-21

zen-sources - 6.18.2
Ebuild name:

sys-kernel/zen-sources-6.18.2

Description

The Zen Kernel Live Sources

Added to portage

2025-12-21

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 91.3 ms