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:

88618

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-09-23
clang - 23.1.2
Ebuild name:

dev-python/clang-23.1.2

Description

Python bindings for llvm-core/clang

Added to portage

2026-09-23

clang - 23.1.2
Ebuild name:

llvm-core/clang-23.1.2

Description

C language family frontend for LLVM

Added to portage

2026-09-23

clang-common - 23.1.2
Ebuild name:

llvm-core/clang-common-23.1.2

Description

Common files shared between multiple slots of clang

Added to portage

2026-09-23

compiler-rt - 23.1.2
Ebuild name:

llvm-runtimes/compiler-rt-23.1.2

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-09-23

compiler-rt-sanitizers - 23.1.2
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-23.1.2

Description

Compiler runtime libraries for clang (sanitizers &

Added to portage

2026-09-23

firefox - 156.0.1
Ebuild name:

www-client/firefox-156.0.1

Description

Firefox Web Browser

Added to portage

2026-09-23

firefox-l10n - 156.0.1
Ebuild name:

www-client/firefox-l10n-156.0.1

Description

Firefox Web Browser's translation files

Added to portage

2026-09-23

flang - 23.1.2
Ebuild name:

llvm-core/flang-23.1.2

Description

LLVM's Fortran frontend

Added to portage

2026-09-23

flang-rt - 23.1.2
Ebuild name:

llvm-runtimes/flang-rt-23.1.2

Description

LLVM's Fortran runtime

Added to portage

2026-09-23

gnupg - 2.5.23
Ebuild name:

app-crypt/gnupg-2.5.23

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-09-23

highline - 7.2.2
Ebuild name:

app-emacs/highline-7.2.2

Description

Minor mode to highlight current line in buffer

Added to portage

2026-09-23

libclc - 23.1.2
Ebuild name:

llvm-runtimes/libclc-23.1.2

Description

OpenCL C library

Added to portage

2026-09-23

libcxx - 23.1.2
Ebuild name:

llvm-runtimes/libcxx-23.1.2

Description

New implementation of the C++ standard library, targeting C++11

Added to portage

2026-09-23

libcxxabi - 23.1.2
Ebuild name:

llvm-runtimes/libcxxabi-23.1.2

Description

Low level support for a standard C++ library

Added to portage

2026-09-23

libgcc - 23.1.2
Ebuild name:

llvm-runtimes/libgcc-23.1.2

Description

Compiler runtime library for clang, compatible with libgcc_s

Added to portage

2026-09-23

libunwind - 23.1.2-r1
Ebuild name:

llvm-runtimes/libunwind-23.1.2-r1

Description

C++ runtime stack unwinder from LLVM

Added to portage

2026-09-23

lit - 23.1.2
Ebuild name:

dev-python/lit-23.1.2

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-09-23

lld - 23.1.2
Ebuild name:

llvm-core/lld-23.1.2

Description

The LLVM linker (link editor)

Added to portage

2026-09-23

lldb - 23.1.2
Ebuild name:

llvm-core/lldb-23.1.2

Description

The LLVM debugger

Added to portage

2026-09-23

llvm - 23.1.2
Ebuild name:

dev-ml/llvm-23.1.2

Description

OCaml bindings for LLVM

Added to portage

2026-09-23

llvm - 23.1.2
Ebuild name:

llvm-core/llvm-23.1.2

Description

Low Level Virtual Machine

Added to portage

2026-09-23

llvm-common - 23.1.2
Ebuild name:

llvm-core/llvm-common-23.1.2

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-09-23

mlir - 23.1.2
Ebuild name:

llvm-core/mlir-23.1.2

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-09-23

openmp - 23.1.2
Ebuild name:

llvm-runtimes/openmp-23.1.2

Description

OpenMP runtime libraries for LLVM/clang compiler

Added to portage

2026-09-23

openmp-amdgcn-amd-amdhsa - 23.1.2
Ebuild name:

llvm-runtimes/openmp-amdgcn-amd-amdhsa-23.1.2

Description

OpenMP target library for amdgcn devices

Added to portage

2026-09-23

openmp-nvptx64-nvidia-cuda - 23.1.2
Ebuild name:

llvm-runtimes/openmp-nvptx64-nvidia-cuda-23.1.2

Description

OpenMP target library for nvptx64 devices

Added to portage

2026-09-23

openmp-spirv64-intel - 23.1.2
Ebuild name:

llvm-runtimes/openmp-spirv64-intel-23.1.2

Description

OpenMP target library for spirv64 Intel devices

Added to portage

2026-09-23

polly - 23.1.2
Ebuild name:

llvm-core/polly-23.1.2

Description

Polyhedral optimizations for LLVM

Added to portage

2026-09-23

2026-09-22
atpublic - 8.0.1
Ebuild name:

dev-python/atpublic-8.0.1

Description

A decorator to populate __all__ and the module globals

Added to portage

2026-09-22

aws-c-common - 1.0.1
Ebuild name:

dev-libs/aws-c-common-1.0.1

Description

Core c99 package for AWS SDK for C

Added to portage

2026-09-22

aws-c-s3 - 1.1.3
Ebuild name:

dev-libs/aws-c-s3-1.1.3

Description

AWS C S3 async library

Added to portage

2026-09-22

awscli - 2.36.50
Ebuild name:

app-admin/awscli-2.36.50

Description

Universal Command Line Environment for AWS

Added to portage

2026-09-22

boto3 - 1.43.99
Ebuild name:

dev-python/boto3-1.43.99

Description

The AWS SDK for Python

Added to portage

2026-09-22

botocore - 1.43.99
Ebuild name:

dev-python/botocore-1.43.99

Description

Low-level, data-driven core of boto 3

Added to portage

2026-09-22

breathe - 5.0.0
Ebuild name:

dev-python/breathe-5.0.0

Description

Sphinx Doxygen renderer

Added to portage

2026-09-22

discord - 1.0.159
Ebuild name:

net-im/discord-1.0.159

Description

All-in-one voice and text chat for gamers

Added to portage

2026-09-22

dist-kernel - 6.12.111
Ebuild name:

virtual/dist-kernel-6.12.111

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-22

dist-kernel - 6.18.53
Ebuild name:

virtual/dist-kernel-6.18.53

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-22

dist-kernel - 7.2.7
Ebuild name:

virtual/dist-kernel-7.2.7

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-09-22

exim - 4.100.1
Ebuild name:

mail-mta/exim-4.100.1

Description

A highly configurable, drop-in replacement for sendmail

Added to portage

2026-09-22

expat - 2.8.5
Ebuild name:

dev-libs/expat-2.8.5

Description

Stream-oriented XML parser library

Added to portage

2026-09-22

firefox-bin - 156.0.1
Ebuild name:

www-client/firefox-bin-156.0.1

Description

Firefox Web Browser

Added to portage

2026-09-22

gamescope - 3.16.29
Ebuild name:

gui-wm/gamescope-3.16.29

Description

Efficient micro-compositor for running games

Added to portage

2026-09-22

gdm - 48.0-r2
Ebuild name:

gnome-base/gdm-48.0-r2

Description

GNOME Display Manager for managing graphical display servers and user logins

Added to portage

2026-09-22

gdm - 49.2-r4
Ebuild name:

gnome-base/gdm-49.2-r4

Description

GNOME Display Manager for managing graphical display servers and user logins

Added to portage

2026-09-22

gentoo-kernel - 6.12.111
Ebuild name:

sys-kernel/gentoo-kernel-6.12.111

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel - 6.18.53
Ebuild name:

sys-kernel/gentoo-kernel-6.18.53

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel - 7.2.7
Ebuild name:

sys-kernel/gentoo-kernel-7.2.7

Description

Linux kernel built with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel-bin - 6.12.111
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.111

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel-bin - 6.18.53
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.53

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel-bin - 7.2.7
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.2.7

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-09-22

gentoo-kernel-modprep - 6.12.111
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.12.111

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-22

gentoo-kernel-modprep - 6.18.53
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.18.53

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-09-22

gentoo-kernel-modprep - 7.2.7
Ebuild name:

sys-kernel/gentoo-kernel-modprep-7.2.7

Description

Minimal subset of gentoo-kernel-bin for building modules, fo

Added to portage

2026-09-22

grub - 2.16
Ebuild name:

sys-boot/grub-2.16

Description

GNU GRUB boot loader

Added to portage

2026-09-22

hl-todo - 3.9.0
Ebuild name:

app-emacs/hl-todo-3.9.0

Description

Highlight TODO and similar keywords in comments and strings

Added to portage

2026-09-22

hl-todo - 3.9.1
Ebuild name:

app-emacs/hl-todo-3.9.1

Description

Highlight TODO and similar keywords in comments and strings

Added to portage

2026-09-22

hl-todo - 3.9.3
Ebuild name:

app-emacs/hl-todo-3.9.3

Description

Highlight TODO and similar keywords in comments and strings

Added to portage

2026-09-22

howm - 1.5.0
Ebuild name:

app-emacs/howm-1.5.0

Description

Note-taking tool on Emacs

Added to portage

2026-09-22

jenkins-bin - 2.568.3
Ebuild name:

dev-util/jenkins-bin-2.568.3

Description

The leading open source automation server

Added to portage

2026-09-22

jupyterlab - 4.5.11
Ebuild name:

dev-python/jupyterlab-4.5.11

Description

JupyterLab computational environment

Added to portage

2026-09-22

jupyterlab - 4.6.4
Ebuild name:

dev-python/jupyterlab-4.6.4

Description

JupyterLab computational environment

Added to portage

2026-09-22

kdav - 6.29.0-r1
Ebuild name:

kde-frameworks/kdav-6.29.0-r1

Description

DAV protocol implemention with KJobs

Added to portage

2026-09-22

kdav - 6.30.0-r2
Ebuild name:

kde-frameworks/kdav-6.30.0-r2

Description

DAV protocol implemention with KJobs

Added to portage

2026-09-22

kdeplasma-addons - 6.7.5-r1
Ebuild name:

kde-plasma/kdeplasma-addons-6.7.5-r1

Description

Extra Plasma applets and engines

Added to portage

2026-09-22

krdp - 6.7.5-r1
Ebuild name:

kde-plasma/krdp-6.7.5-r1

Description

Library and examples for creating an RDP server

Added to portage

2026-09-22

kwin - 6.7.5-r1
Ebuild name:

kde-plasma/kwin-6.7.5-r1

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-09-22

kwin-x11 - 6.7.5-r1
Ebuild name:

kde-plasma/kwin-x11-6.7.5-r1

Description

Flexible, composited X window manager

Added to portage

2026-09-22

lazy-loader - 0.6
Ebuild name:

dev-python/lazy-loader-0.6

Description

Populate library namespace without incurring immediate import costs

Added to portage

2026-09-22

lgogdownloader - 3.19
Ebuild name:

games-util/lgogdownloader-3.19

Description

Unofficial GOG.com downloader for Linux

Added to portage

2026-09-22

libinput - 1.32.0
Ebuild name:

dev-libs/libinput-1.32.0

Description

Library to handle input devices in Wayland

Added to portage

2026-09-22

libopenrazer - 0.4.0-r1
Ebuild name:

dev-libs/libopenrazer-0.4.0-r1

Description

Qt wrapper around the D-Bus API from OpenRazer

Added to portage

2026-09-22

libva-intel-media-driver - 26.3.5
Ebuild name:

media-libs/libva-intel-media-driver-26.3.5

Description

Intel Media Driver for VA-API (iHD)

Added to portage

2026-09-22

mariadb-connector-c - 3.4.9-r2
Ebuild name:

dev-db/mariadb-connector-c-3.4.9-r2

Description

C client library for MariaDB/MySQL

Added to portage

2026-09-22

mesa - 26.2.3
Ebuild name:

media-libs/mesa-26.2.3

Description

OpenGL-like graphic library for Linux

Added to portage

2026-09-22

mesa_clc - 26.2.3
Ebuild name:

dev-util/mesa_clc-26.2.3

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2026-09-22

multidict - 6.9.1
Ebuild name:

dev-python/multidict-6.9.1

Description

multidict implementation

Added to portage

2026-09-22

networkx - 3.7
Ebuild name:

dev-python/networkx-3.7

Description

Python tools to manipulate graphs and complex networks

Added to portage

2026-09-22

notebook - 7.6.3
Ebuild name:

dev-python/notebook-7.6.3

Description

Jupyter Interactive Notebook

Added to portage

2026-09-22

nxml-gentoo-schemas - 20260922
Ebuild name:

app-emacs/nxml-gentoo-schemas-20260922

Description

Extension for nxml-mode with Gentoo-specific schemas

Added to portage

2026-09-22

plasma-workspace - 6.7.5-r1
Ebuild name:

kde-plasma/plasma-workspace-6.7.5-r1

Description

KDE Plasma workspace

Added to portage

2026-09-22

platformdirs - 4.11.12
Ebuild name:

dev-python/platformdirs-4.11.12

Description

A small Python module for determining appropriate platform-specific

Added to portage

2026-09-22

postfix - 3.12_pre20260921
Ebuild name:

mail-mta/postfix-3.12_pre20260921

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-09-22

powerdevil - 6.7.5-r2
Ebuild name:

kde-plasma/powerdevil-6.7.5-r2

Description

Power management for KDE Plasma Shell

Added to portage

2026-09-22

systemd - 262
Ebuild name:

sys-apps/systemd-262

Description

System and service manager for Linux

Added to portage

2026-09-22

tifffile - 2026.9.20
Ebuild name:

dev-python/tifffile-2026.9.20

Description

Read and write TIFF files

Added to portage

2026-09-22

trove-classifiers - 2026.9.21.13
Ebuild name:

dev-python/trove-classifiers-2026.9.21.13

Description

Canonical source for classifiers on PyPI (pypi.org)

Added to portage

2026-09-22

valentina - 1.0.5
Ebuild name:

media-gfx/valentina-1.0.5

Description

Cloth patternmaking software

Added to portage

2026-09-22

valentina - 1.1.1
Ebuild name:

media-gfx/valentina-1.1.1

Description

Cloth patternmaking software

Added to portage

2026-09-22

vanilla-kernel - 6.12.111
Ebuild name:

sys-kernel/vanilla-kernel-6.12.111

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-22

vanilla-kernel - 6.18.53
Ebuild name:

sys-kernel/vanilla-kernel-6.18.53

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-22

vanilla-kernel - 7.2.7
Ebuild name:

sys-kernel/vanilla-kernel-7.2.7

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-09-22

virtualenv - 21.9.1
Ebuild name:

dev-python/virtualenv-21.9.1

Description

Virtual Python Environment builder

Added to portage

2026-09-22

watchfiles - 1.3.0
Ebuild name:

dev-python/watchfiles-1.3.0

Description

Simple, modern file watching and code reload in Python

Added to portage

2026-09-22

webkit-gtk - 2.54.0-r410
Ebuild name:

net-libs/webkit-gtk-2.54.0-r410

Description

Open source web browser engine

Added to portage

2026-09-22

webkit-gtk - 2.54.0-r600
Ebuild name:

net-libs/webkit-gtk-2.54.0-r600

Description

Open source web browser engine

Added to portage

2026-09-22

xfd - 1.1.6
Ebuild name:

x11-apps/xfd-1.1.6

Description

X.Org xfd application

Added to portage

2026-09-22

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