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:

83383

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
2026-02-20
acl - 2.3.2-r3
Ebuild name:

sys-apps/acl-2.3.2-r3

Description

Access control list utilities, libraries, and headers

Added to portage

2026-02-20

chrome-binary-plugins - 146.0.7680.16_beta
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.16_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-02-20

devcontainer - 0.83.2
Ebuild name:

app-containers/devcontainer-0.83.2

Description

Reference implementation of the Development Containers specifica

Added to portage

2026-02-20

dist-kernel - 6.19.3
Ebuild name:

virtual/dist-kernel-6.19.3

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-02-20

gentoo-kernel - 6.19.3
Ebuild name:

sys-kernel/gentoo-kernel-6.19.3

Description

Linux kernel built with Gentoo patches

Added to portage

2026-02-20

gentoo-kernel-bin - 6.19.3
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.19.3

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-02-20

gentoo-systemd-integration - 9-r2
Ebuild name:

sys-apps/gentoo-systemd-integration-9-r2

Description

systemd integration files for Gentoo

Added to portage

2026-02-20

google-chrome-beta - 146.0.7680.16
Ebuild name:

www-client/google-chrome-beta-146.0.7680.16

Description

The web browser from Google

Added to portage

2026-02-20

jdbc-mysql - 9.6.0
Ebuild name:

dev-java/jdbc-mysql-9.6.0

Description

JDBC Type 4 driver for MySQL

Added to portage

2026-02-20

krita - 6.0.0_beta2
Ebuild name:

media-gfx/krita-6.0.0_beta2

Description

Free digital painting application. Digital Painting, Creative Freedom

Added to portage

2026-02-20

nagios-mode - 0.4
Ebuild name:

app-emacs/nagios-mode-0.4

Description

Major mode for editing Nagios configuration files

Added to portage

2026-02-20

navi2ch - 1.8.4-r2
Ebuild name:

app-emacs/navi2ch-1.8.4-r2

Description

A navigator for the Japanese textboard 2ch

Added to portage

2026-02-20

p11-kit - 0.26.2
Ebuild name:

app-crypt/p11-kit-0.26.2

Description

Provides a standard configuration setup for installing PKCS11

Added to portage

2026-02-20

protobuf-java - 4.33.5
Ebuild name:

dev-java/protobuf-java-4.33.5

Description

Core Protocol Buffers library

Added to portage

2026-02-20

rclone - 1.73.1
Ebuild name:

net-misc/rclone-1.73.1

Description

A program to sync files to and from various cloud storage providers

Added to portage

2026-02-20

swi-prolog - 10.0.1
Ebuild name:

dev-lang/swi-prolog-10.0.1

Description

Versatile implementation of the Prolog programming language

Added to portage

2026-02-20

vanilla-kernel - 6.19.3
Ebuild name:

sys-kernel/vanilla-kernel-6.19.3

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-02-20

2026-02-19
aegisub - 3.4.2-r3
Ebuild name:

media-video/aegisub-3.4.2-r3

Description

Advanced subtitle editor

Added to portage

2026-02-19

awscli - 1.44.42
Ebuild name:

app-admin/awscli-1.44.42

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-19

badkeys - 0.0.17
Ebuild name:

app-crypt/badkeys-0.0.17

Description

Check cryptographic keys for known weaknesses

Added to portage

2026-02-19

bibletime - 3.2.0
Ebuild name:

app-text/bibletime-3.2.0

Description

Qt Bible-study application using the SWORD library

Added to portage

2026-02-19

boehm-gc - 8.2.12
Ebuild name:

dev-libs/boehm-gc-8.2.12

Description

The Boehm-Demers-Weiser conservative garbage collector

Added to portage

2026-02-19

boto3 - 1.42.52
Ebuild name:

dev-python/boto3-1.42.52

Description

The AWS SDK for Python

Added to portage

2026-02-19

botocore - 1.42.52
Ebuild name:

dev-python/botocore-1.42.52

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-19

cantor - 25.12.2-r1
Ebuild name:

kde-apps/cantor-25.12.2-r1

Description

Interface for doing mathematics and scientific computing

Added to portage

2026-02-19

capstone - 6.0.0_alpha7
Ebuild name:

dev-libs/capstone-6.0.0_alpha7

Description

disassembly/disassembler framework + bindings

Added to portage

2026-02-19

cattrs - 26.1.0
Ebuild name:

dev-python/cattrs-26.1.0

Description

Composable complex class support for attrs and dataclasses

Added to portage

2026-02-19

ceph - 20.1.1-r1
Ebuild name:

sys-cluster/ceph-20.1.1-r1

Description

Ceph distributed filesystem

Added to portage

2026-02-19

chrome-binary-plugins - 145.0.7632.109
Ebuild name:

www-plugins/chrome-binary-plugins-145.0.7632.109

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2026-02-19

chromedriver-bin - 145.0.7632.109
Ebuild name:

www-apps/chromedriver-bin-145.0.7632.109

Description

WebDriver for Chrome

Added to portage

2026-02-19

chromium - 145.0.7632.109
Ebuild name:

www-client/chromium-145.0.7632.109

Description

Open-source version of Google Chrome web browser

Added to portage

2026-02-19

cli-helpers - 2.10.1
Ebuild name:

dev-python/cli-helpers-2.10.1

Description

Python helpers for common CLI tasks

Added to portage

2026-02-19

droidcam - 2.1.5
Ebuild name:

media-video/droidcam-2.1.5

Description

Use your phone or tablet as webcam with a v4l device driver and app

Added to portage

2026-02-19

dropbox - 242.4.5815
Ebuild name:

net-misc/dropbox-242.4.5815

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-02-19

filelock - 3.24.3
Ebuild name:

dev-python/filelock-3.24.3

Description

A platform independent file lock for Python

Added to portage

2026-02-19

google-api-core - 2.30.0
Ebuild name:

dev-python/google-api-core-2.30.0

Description

Core Library for Google Client Libraries

Added to portage

2026-02-19

google-chrome - 145.0.7632.109
Ebuild name:

www-client/google-chrome-145.0.7632.109

Description

The web browser from Google

Added to portage

2026-02-19

haproxy - 3.0.17
Ebuild name:

net-proxy/haproxy-3.0.17

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

haproxy - 3.2.13
Ebuild name:

net-proxy/haproxy-3.2.13

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

haproxy - 3.3.4
Ebuild name:

net-proxy/haproxy-3.3.4

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

iosevka - 33.3.6
Ebuild name:

media-fonts/iosevka-33.3.6

Description

Slender typeface for code, from code

Added to portage

2026-02-19

iosevka - 34.1.0
Ebuild name:

media-fonts/iosevka-34.1.0

Description

Slender typeface for code, from code

Added to portage

2026-02-19

kaffeine - 2.1.0_pre20260210
Ebuild name:

media-video/kaffeine-2.1.0_pre20260210

Description

Media player with digital TV support by KDE

Added to portage

2026-02-19

kmscon - 9.3.2
Ebuild name:

sys-apps/kmscon-9.3.2

Description

KMS/DRM based virtual Console Emulator

Added to portage

2026-02-19

libdolbyb - 1.0.1
Ebuild name:

media-libs/libdolbyb-1.0.1

Description

Treat audio recordings similar to Dolby B noise reduction codecs

Added to portage

2026-02-19

libquotient - 0.9.6.1
Ebuild name:

net-libs/libquotient-0.9.6.1

Description

Qt-based SDK to develop applications for Matrix

Added to portage

2026-02-19

libtmux - 0.53.1
Ebuild name:

dev-python/libtmux-0.53.1

Description

Typed library that provides an ORM wrapper for tmux, a terminal multiplex

Added to portage

2026-02-19

libunwind - 1.8.3
Ebuild name:

sys-libs/libunwind-1.8.3

Description

Portable and efficient API to determine the call-chain of a program

Added to portage

2026-02-19

libvpx - 1.16.0
Ebuild name:

media-libs/libvpx-1.16.0

Description

WebM VP8 and VP9 Codec SDK

Added to portage

2026-02-19

luajit - 2.1.1770848219
Ebuild name:

dev-lang/luajit-2.1.1770848219

Description

Just-In-Time Compiler for the Lua programming language

Added to portage

2026-02-19

maturin - 1.12.3
Ebuild name:

dev-util/maturin-1.12.3

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-02-19

microsoft-edge - 145.0.3800.58
Ebuild name:

www-client/microsoft-edge-145.0.3800.58

Description

The web browser from Microsoft

Added to portage

2026-02-19

microsoft-edge-beta - 145.0.3800.58
Ebuild name:

www-client/microsoft-edge-beta-145.0.3800.58

Description

The web browser from Microsoft

Added to portage

2026-02-19

microsoft-edge-dev - 146.0.3856.9
Ebuild name:

www-client/microsoft-edge-dev-146.0.3856.9

Description

The web browser from Microsoft

Added to portage

2026-02-19

mkdocs-material - 9.7.2
Ebuild name:

dev-python/mkdocs-material-9.7.2

Description

A Material Design theme for MkDocs

Added to portage

2026-02-19

nerd-icons - 0.1.0
Ebuild name:

app-emacs/nerd-icons-0.1.0

Description

Emacs Nerd Font Icons Library

Added to portage

2026-02-19

openstackdocstheme - 3.5.0-r1
Ebuild name:

dev-python/openstackdocstheme-3.5.0-r1

Description

Theme and extension support for Sphinx documentation

Added to portage

2026-02-19

opentelemetry-cpp - 1.25.0
Ebuild name:

dev-cpp/opentelemetry-cpp-1.25.0

Description

The OpenTelemetry C++ Client

Added to portage

2026-02-19

opera - 127.0.5778.76
Ebuild name:

www-client/opera-127.0.5778.76

Description

A fast and secure web browser

Added to portage

2026-02-19

opera-developer - 129.0.5812.0
Ebuild name:

www-client/opera-developer-129.0.5812.0

Description

A fast and secure web browser

Added to portage

2026-02-19

oslo-log - 8.1.0
Ebuild name:

dev-python/oslo-log-8.1.0

Description

OpenStack logging config library, configuration for all openstack project

Added to portage

2026-02-19

p11-kit - 0.26.2
Ebuild name:

app-crypt/p11-kit-0.26.2

Description

Provides a standard configuration setup for installing PKCS11

Added to portage

2026-02-19

packer - 1.14.3
Ebuild name:

dev-util/packer-1.14.3

Description

A tool to create identical machine images for multiple platforms

Added to portage

2026-02-19

parse - 1.21.1
Ebuild name:

dev-python/parse-1.21.1

Description

Parse strings using a specification based on the Python format() syntax

Added to portage

2026-02-19

psycopg - 3.3.3
Ebuild name:

dev-python/psycopg-3.3.3

Description

PostgreSQL database adapter for Python

Added to portage

2026-02-19

pyproject-fmt - 2.16.1
Ebuild name:

dev-python/pyproject-fmt-2.16.1

Description

Format your pyproject.toml file

Added to portage

2026-02-19

recurring-ical-events - 3.8.1
Ebuild name:

dev-python/recurring-ical-events-3.8.1

Description

Repeat ICalendar events by RRULE, RDATE and EXDATE

Added to portage

2026-02-19

remmina - 1.4.42
Ebuild name:

net-misc/remmina-1.4.42

Description

A GTK+ RDP, SPICE, VNC and SSH client

Added to portage

2026-02-19

rust - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-1.94.0_beta20260213

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-02-19

rust-bin - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-bin-1.94.0_beta20260213

Description

Added to portage

2026-02-19

rust-common - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-common-1.94.0_beta20260213

Description

Common files shared between multiple slots of Rust

Added to portage

2026-02-19

rust-std - 1.94.0_beta20260213
Ebuild name:

sys-devel/rust-std-1.94.0_beta20260213

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-02-19

signal-desktop-bin - 7.89.0
Ebuild name:

net-im/signal-desktop-bin-7.89.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2026-02-19

simdjson - 4.3.0
Ebuild name:

dev-libs/simdjson-4.3.0

Description

SIMD accelerated C++ JSON library

Added to portage

2026-02-19

sox - 14.4.5.1
Ebuild name:

media-sound/sox-14.4.5.1

Description

The swiss army knife of sound processing programs

Added to portage

2026-02-19

sox - 14.7.0.9
Ebuild name:

media-sound/sox-14.7.0.9

Description

The swiss army knife of sound processing programs

Added to portage

2026-02-19

spawn - 26.0.0-r1
Ebuild name:

dev-ada/spawn-26.0.0-r1

Description

Simple API to spawn processes

Added to portage

2026-02-19

sphinx-autodoc-typehints - 3.6.3
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.6.3

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-02-19

tavern - 3.2.0
Ebuild name:

dev-python/tavern-3.2.0

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-02-19

tox - 4.39.0
Ebuild name:

dev-python/tox-4.39.0

Description

virtualenv-based automation of test activities

Added to portage

2026-02-19

webkit-gtk - 2.50.5-r410
Ebuild name:

net-libs/webkit-gtk-2.50.5-r410

Description

Open source web browser engine

Added to portage

2026-02-19

webkit-gtk - 2.50.5-r600
Ebuild name:

net-libs/webkit-gtk-2.50.5-r600

Description

Open source web browser engine

Added to portage

2026-02-19

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