Search found 25 matches

by mapsware
Thu Jul 02, 2020 4:51 pm
Forum: Installing GhostBSD
Topic: Booting from GRUB2
Replies: 4
Views: 228

Re: Booting from GRUB2

The 3 partitions are GPT and are of type

FreeBSD-Boot
FreeBSD-ZFS
FreeBSD-SWAP

I do not use GRUB, but you need to make a chainloader to the FreeBSD-Boot partition
by mapsware
Thu Jul 02, 2020 1:06 am
Forum: Installing GhostBSD
Topic: Booting from GRUB2
Replies: 4
Views: 228

Re: Booting from GRUB2

If the GhostBSD drive has 3 partitions, it must be EFI partition FreeBSD-ZFS SWAP You need to launch /EFI/BOOT/BOOTX64.EFI user@host ~% gpart show => 40 3907029088 ada0 GPT (1.8T) 40 532480 1 efi (260M) 532520 3897387008 2 freebsd-zfs (1.8T) 3897919528 9099264 3 freebsd-swap (4.3G) 3907018792 10336 ...
by mapsware
Fri Jun 19, 2020 6:52 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

I am not sure it's going to work since the environment variable PRINTER is not defined

To rename, you need to be root and run the next commands

Code: Select all

root@computer ~/# cd /usr/bin
root@computer /usr/bin/# mv lpr lpr.bsd
by mapsware
Thu Jun 18, 2020 6:14 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

christophe60_fr wrote:
Wed Jun 17, 2020 11:49 am
# which lpr
/usr/bin/lpr
It should be /usr/local/bin/lpr, this mean that XSane was using /usr/bin/lpr from LPD/LPR instead /usr/local/bin/lpr from CUPS

Renaming /usr/bin/lpr to /usr/bin/lpr.bsd should make XSane work
by mapsware
Thu Jun 18, 2020 3:29 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

If you enable LPD/LPR, you need to disable CUPS, also need to make sure that when using lpr it is the /usr/bin/lpr GhostBSD use OpenRC, I recently solve my problem about SSH not running when the PC boot Para que el servicio de SSH inicie al arrancar GhostBSD, ejecutamos el siguiente comando como roo...
by mapsware
Wed Jun 17, 2020 10:42 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

Did you logged out and in after modifying ~/.xsession?
by mapsware
Wed Jun 17, 2020 2:33 am
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

With GhostBSD reinstalled, just configure your printer and set as default destination (in CUPS) If the option "Copy" of XSane doesn't work out of the box, then create the environment variable PRINTER, edit your ~/.xsession and add the next line export PRINTER=HP_LaserJet_200_color_M251nw For the cha...
by mapsware
Mon Jun 15, 2020 8:30 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

As I said, you are using CUPS, because is what GhostBSD configure by default
by mapsware
Sun Jun 14, 2020 5:48 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

If you are using GhostBSD with it's standard config, then GhostBSD it's using CUPS, you should not enable LPD/LPR. Be careful, because a collision with lpr LPD/LPR ==> /usr/bin/lpr CUPS ==> /usr/local/bin/lpr Try setting the environment variable PRINTER; to list the printers available in CUPS, use l...
by mapsware
Sat Jun 13, 2020 9:37 pm
Forum: General support
Topic: [Solved]How to make a photocopy using a USB scanner and a network printer
Replies: 19
Views: 1174

Re: How to make a photocopy using a USB scanner and a network printer

That means Xsane invokes lpr without specifying a destination printer (-P PrinterName), expecting lpr to use the user's configuration lpr selects the destination printer in the following order: If the -P PrinterName option was specified If PRINTER environment variable exist, it's value is used as th...